how to repeat tasks in a browser